class CreatePlantillas < ActiveRecord::Migration
  def self.up
    create_table :plantillas do |t|
      t.column :nombre, :string
      t.column :html, :text
    end
    
    Plantilla.create(:nombre => "Plantilla", :html => "...")
  end

  def self.down
    drop_table :plantillas
  end
end
